#include <pgmspace.h>

const unsigned char hz_qing PROGMEM[] =
{
  0x00,0x40,0x08,0x48,0x7F,0xFC,0x48,0x40,0x4B,0xF8,0x48,0x40,0x4F,0xFE,0x78,0x08,
  0x4B,0xFC,0x4A,0x08,0x4B,0xF8,0x4A,0x08,0x7B,0xF8,0x4A,0x08,0x02,0x28,0x02,0x10/*"晴",0*/
};

const unsigned char hz_yin PROGMEM[] =
{
  0x00,0x04,0x7C,0xFE,0x44,0x84,0x48,0x84,0x48,0x84,0x50,0xFC,0x48,0x84,0x48,0x84,
  0x44,0x84,0x44,0xFC,0x44,0x84,0x68,0x84,0x51,0x04,0x41,0x04,0x42,0x14,0x44,0x08/*"阴",0*/
};

const unsigned char hz_zhen PROGMEM[] =
{
  0x00,0x80,0x78,0x84,0x4F,0xFE,0x50,0x80,0x50,0xA0,0x61,0x20,0x51,0x28,0x4B,0xFC,
  0x48,0x20,0x48,0x20,0x68,0x24,0x57,0xFE,0x40,0x20,0x40,0x20,0x40,0x20,0x40,0x20/*"阵",0*/
};

const unsigned char hz_yu PROGMEM[] =
{
  0x00,0x04,0xFF,0xFE,0x01,0x00,0x01,0x08,0x3F,0xFC,0x21,0x08,0x21,0x08,0x29,0x48,
  0x25,0x28,0x21,0x08,0x21,0x08,0x29,0x48,0x25,0x28,0x21,0x08,0x21,0x28,0x20,0x10/*"雨",0*/
};

const unsigned char hz_lei PROGMEM[] =
{
  0x00,0x10,0x3F,0xF8,0x01,0x00,0x7F,0xFE,0x41,0x02,0x9D,0x74,0x01,0x00,0x1D,0x70,
  0x01,0x00,0x3F,0xF8,0x21,0x08,0x21,0x08,0x3F,0xF8,0x21,0x08,0x21,0x08,0x3F,0xF8/*"雷",0*/
};

const unsigned char hz_xiao PROGMEM[] =
{
  0x01,0x00,0x01,0x00,0x01,0x00,0x01,0x00,0x01,0x00,0x05,0x40,0x05,0x20,0x09,0x10,
  0x09,0x08,0x11,0x04,0x21,0x04,0x41,0x00,0x01,0x00,0x01,0x00,0x05,0x00,0x02,0x00/*"小",0*/
};

const unsigned char hz_zhong PROGMEM[] =
{
  0x01,0x00,0x01,0x00,0x01,0x04,0x7F,0xFE,0x41,0x04,0x41,0x04,0x41,0x04,0x41,0x04,
  0x7F,0xFC,0x41,0x04,0x01,0x00,0x01,0x00,0x01,0x00,0x01,0x00,0x01,0x00,0x01,0x00/*"中",0*/
};

const unsigned char hz_da PROGMEM[] =
{
  0x01,0x00,0x01,0x00,0x01,0x00,0x01,0x00,0x01,0x04,0xFF,0xFE,0x01,0x00,0x02,0x80,
  0x02,0x80,0x02,0x40,0x04,0x40,0x04,0x20,0x08,0x10,0x10,0x0E,0x60,0x04,0x00,0x00/*"大",0*/
};

const unsigned char hz_bao PROGMEM[] =
{
  0x1F,0xF0,0x10,0x10,0x1F,0xF0,0x10,0x10,0x1F,0xF0,0x04,0x40,0x7F,0xFC,0x04,0x40,
  0xFF,0xFE,0x04,0x40,0x09,0x20,0x35,0x5E,0xC3,0x84,0x09,0x20,0x11,0x10,0x03,0x00/*"暴",0*/
};

const unsigned char hz_te PROGMEM[] =
{
  0x10,0x40,0x10,0x40,0x50,0x48,0x53,0xFC,0x7C,0x40,0x90,0x44,0x17,0xFE,0x18,0x10,
  0x30,0x14,0xD7,0xFE,0x11,0x10,0x10,0x90,0x10,0x90,0x10,0x10,0x10,0x50,0x10,0x20/*"特",0*/
};

const unsigned char hz_jia PROGMEM[] =
{
  0x01,0x00,0x01,0x00,0x01,0x08,0x7F,0xFC,0x01,0x00,0x11,0x10,0x09,0x20,0x01,0x04,
  0xFF,0xFE,0x01,0x00,0x02,0x80,0x02,0x80,0x04,0x40,0x08,0x30,0x30,0x0E,0xC0,0x04/*"夹",0*/
};

const unsigned char hz_xue PROGMEM[] =
{
  0x1F,0xF0,0x01,0x00,0x7F,0xFE,0x41,0x02,0x9D,0x74,0x01,0x00,0x1D,0x70,0x01,0x08,
  0x3F,0xFC,0x00,0x08,0x00,0x08,0x1F,0xF8,0x00,0x08,0x00,0x08,0x3F,0xF8,0x00,0x08/*"雪",0*/
};

const unsigned char hz_wus PROGMEM[] =
{
  0x3F,0xF8,0x01,0x00,0x7F,0xFE,0x51,0x12,0x89,0x24,0x14,0x10,0x07,0xE0,0x0C,0x40,
  0x13,0x80,0x0C,0x60,0xF2,0x1E,0x0F,0xE4,0x02,0x20,0x04,0x20,0x08,0xA0,0x30,0x40/*"雾",0*/
};

const unsigned char hz_mai PROGMEM[] =
{
  0x1F,0xF0,0x01,0x00,0x7F,0xFE,0x51,0x12,0x8D,0x64,0x10,0x10,0x2B,0xFC,0xE5,0x24,
  0x19,0xFC,0x69,0x24,0x95,0xFC,0x64,0x20,0x05,0xFC,0x64,0x20,0x17,0xFE,0x08,0x00/*"霾",0*/
};

const unsigned char hz_feng PROGMEM[] =
{
  0x00,0x10,0x3F,0xF8,0x20,0x10,0x28,0x50,0x24,0x50,0x22,0x90,0x22,0x90,0x21,0x10,
  0x21,0x10,0x22,0x90,0x22,0x90,0x24,0x50,0x28,0x50,0x30,0x12,0x40,0x0A,0x80,0x06/*"风",0*/
};

const unsigned char hz_len PROGMEM[] =
{
  0x00,0x80,0x40,0x80,0x31,0x40,0x12,0x20,0x04,0x10,0x09,0x08,0x10,0x8E,0x10,0x84,
  0x27,0xF0,0xE0,0x10,0x20,0x20,0x20,0x40,0x22,0x80,0x21,0x00,0x20,0xC0,0x00,0x40/*"冷",0*/
};

const unsigned char hz_re PROGMEM[] =
{
  0x08,0x40,0x08,0x40,0x08,0x48,0x7F,0xFC,0x08,0x48,0x0A,0x48,0x1C,0xC8,0x68,0x48,
  0x08,0xA8,0x08,0x8A,0x29,0x0A,0x12,0x04,0x00,0x00,0x48,0x88,0x44,0x46,0x84,0x42/*"热",0*/
};

const unsigned char hz_duo PROGMEM[] =
{
  0x02,0x00,0x02,0x00,0x07,0xF0,0x08,0x20,0x18,0x40,0x25,0x80,0x02,0x80,0x0C,0x80,
  0x71,0xFC,0x02,0x08,0x0C,0x10,0x12,0x20,0x21,0xC0,0x01,0x00,0x0E,0x00,0x70,0x00/*"多",0*/
};

const unsigned char hz_yun PROGMEM[] =
{
  0x00,0x00,0x00,0x20,0x1F,0xF0,0x00,0x00,0x00,0x00,0x00,0x04,0xFF,0xFE,0x02,0x00,
  0x02,0x00,0x04,0x00,0x04,0x00,0x08,0x00,0x08,0x20,0x10,0x10,0x3F,0xF8,0x00,0x08/*"云",0*/
};

const unsigned char hz_dang PROGMEM[] =
{
  0x01,0x00,0x21,0x08,0x19,0x18,0x09,0x20,0x01,0x00,0x01,0x08,0x7F,0xFC,0x00,0x08,
  0x00,0x08,0x00,0x08,0x3F,0xF8,0x00,0x08,0x00,0x08,0x00,0x08,0x7F,0xF8,0x00,0x08/*"当",0*/
};

const unsigned char hz_qian PROGMEM[] =
{
  0x10,0x10,0x0C,0x30,0x04,0x44,0xFF,0xFE,0x00,0x00,0x3E,0x08,0x22,0x48,0x22,0x48,
  0x3E,0x48,0x22,0x48,0x22,0x48,0x3E,0x48,0x22,0x08,0x22,0x08,0x2A,0x28,0x24,0x10/*"前",0*/
};

const unsigned char hz_qi PROGMEM[] =
{
  0x10,0x00,0x10,0x08,0x1F,0xFC,0x20,0x00,0x2F,0xF0,0x40,0x00,0xBF,0xE0,0x00,0x20,
  0x00,0x20,0x00,0x20,0x00,0x20,0x00,0x20,0x00,0x22,0x00,0x12,0x00,0x0A,0x00,0x04/*"气",0*/
};

const unsigned char hz_wen PROGMEM[] =
{
  0x00,0x08,0x43,0xFC,0x32,0x08,0x12,0x08,0x83,0xF8,0x62,0x08,0x22,0x08,0x0B,0xF8,
  0x10,0x00,0x27,0xFC,0xE4,0xA4,0x24,0xA4,0x24,0xA4,0x24,0xA4,0x2F,0xFE,0x20,0x00/*"温",0*/
};

const unsigned char hz_tian PROGMEM[] =
{
  0x00,0x08,0x7F,0xFC,0x01,0x00,0x01,0x00,0x01,0x00,0x01,0x04,0xFF,0xFE,0x01,0x00,
  0x02,0x80,0x02,0x80,0x04,0x40,0x04,0x40,0x08,0x20,0x10,0x10,0x20,0x0E,0xC0,0x04/*"天",0*/
};

const unsigned char hz_ssd PROGMEM[] =
{
  0x30,0x00,0x48,0x00,0x48,0x00,0x33,0xE8,0x06,0x38,0x0C,0x18,0x0C,0x08,0x0C,0x00,
  0x0C,0x00,0x0C,0x00,0x0C,0x00,0x06,0x08,0x03,0x10,0x01,0xE0,0x00,0x00,0x00,0x00/*"摄氏度",0*/
};

const unsigned char hz_zhou PROGMEM[] =
{
   0x00,0x08,0x3F,0xFC,0x21,0x08,0x21,0x48,0x2F,0xE8,0x21,0x08,0x21,0x28,0x3F,0xF8,
   0x20,0x48,0x27,0xE8,0x24,0x48,0x24,0x48,0x24,0x48,0x47,0xC8,0x84,0x28,0x00,0x10/*"周",0*/
};

const unsigned char hz_yi PROGMEM[] =
{
   0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x04,0xFF,0xFE,
   0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00/*"一",1*/
};
const unsigned char hz_er PROGMEM[] =
{
   0x00,0x00,0x00,0x00,0x00,0x10,0x3F,0xF8,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
   0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x04,0xFF,0xFE,0x00,0x00,0x00,0x00,0x00,0x00/*"二",2*/
};
const unsigned char hz_san PROGMEM[] =
{
   0x00,0x00,0x00,0x08,0x7F,0xFC,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x10,0x3F,0xF8,
   0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x04,0xFF,0xFE,0x00,0x00,0x00,0x00/*"三",3*/
};
const unsigned char hz_si PROGMEM[] =
{
   0x00,0x00,0x00,0x04,0x7F,0xFE,0x44,0x44,0x44,0x44,0x44,0x44,0x44,0x44,0x44,0x44,
   0x44,0x44,0x44,0x3C,0x48,0x04,0x50,0x04,0x40,0x04,0x7F,0xFC,0x40,0x04,0x00,0x00/*"四",4*/
};
const unsigned char hz_wu PROGMEM[] =
{
   0x00,0x00,0x00,0x08,0x7F,0xFC,0x02,0x00,0x02,0x00,0x02,0x00,0x02,0x10,0x3F,0xFC,
   0x04,0x10,0x04,0x10,0x04,0x10,0x08,0x10,0x08,0x10,0x08,0x14,0xFF,0xFE,0x00,0x00/*"五",5*/
};
const unsigned char hz_liu PROGMEM[] =
{
   0x00,0x00,0x04,0x00,0x02,0x00,0x03,0x00,0x01,0x04,0xFF,0xFE,0x00,0x00,0x00,0x00,
   0x04,0x40,0x0C,0x20,0x08,0x10,0x10,0x18,0x10,0x0C,0x20,0x0C,0x40,0x04,0x00,0x00/*"六",6*/
};
const unsigned char hz_ri PROGMEM[] =
{
   0x00,0x10,0x1F,0xF8,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x1F,0xF0,
   0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x1F,0xF0,0x10,0x10,0x00,0x00/*"日",7*/
};
const unsigned char hz_yue PROGMEM[] =
{
   0x00,0x10,0x0F,0xF8,0x08,0x10,0x08,0x10,0x08,0x10,0x0F,0xF0,0x08,0x10,0x08,0x10,
   0x08,0x10,0x0F,0xF0,0x08,0x10,0x08,0x10,0x10,0x10,0x10,0x10,0x20,0x50,0x40,0x20/*"月",8*/
};
const unsigned char hz_nian PROGMEM[] =
{
   0x08,0x00,0x08,0x08,0x1F,0xFC,0x11,0x00,0x21,0x00,0x41,0x10,0x1F,0xF8,0x11,0x00,
   0x11,0x00,0x11,0x04,0xFF,0xFE,0x01,0x00,0x01,0x00,0x01,0x00,0x01,0x00,0x01,0x00/*"年",9*/
};

struct FNT_HZ // 汉字字模数据结构
{
  char  Index[4]; // 汉字内码索引,如"中",在UTF-8编码下，每个汉字占3个字节，第四个是结束符0
  const unsigned char* hz_Id;  // 点阵码数据，存放内码后对应的点阵序列每个字需要32个字节的点阵序列
  unsigned char hz_width;    //序列长度
};

//定义结构数组
PROGMEM const FNT_HZ hanzi[] =
{
  {"多", hz_duo,16}, {"云", hz_yun,16},{"风", hz_feng,16},{"冷", hz_len,16},{"热", hz_re,16},{"霾", hz_mai,16},
  {"雾", hz_wus,16},{"雪", hz_xue,16},{"夹", hz_jia,16},{"特", hz_te,16},{"暴", hz_bao,16},{"大", hz_da,16},
  {"中", hz_zhong,16},{"小", hz_xiao,16},{"雷", hz_lei,16},{"雨", hz_yu,16},{"阵", hz_zhen,16},{"阴", hz_yin,16},
  {"晴", hz_qing,16},{"当", hz_dang,16},{"前", hz_qian,16},{"天", hz_tian,16},{"气", hz_qi,16},{"温", hz_wen,16},
  {"设", hz_ssd,16},{"周", hz_zhou,16}, {"一", hz_yi,16}, {"二", hz_er,16}, {"三", hz_san,16}, {"四", hz_si,16},
  {"五", hz_wu,16}, {"六", hz_liu,16}, {"日", hz_ri,16}, {"月", hz_yue,16}, {"年", hz_nian,16}
};
